//1.14 两交换

#include <stdio.h>

int main()
{
    int num1, num2, t;
    scanf("%d%d", &num1, &num2);
    t = num1;
    num1 = num2;
    num2 = t;
    printf("%d %d\n", num1, num2);
    return 0;
}
